package com.cjm.mhl.service;

import com.cjm.mhl.dao.EmployeeDao;
import com.cjm.mhl.domain.Employee;

public class EmployeeService {
    private EmployeeDao employeeDao=new EmployeeDao();
    //验证登录信息
    public Employee getEmployeeByIdandPwd(String empID,String pwd){
        return employeeDao.querySingle("select * from employee where empId=? and pwd=md5(?)", Employee.class, empID, pwd);
    }
}
